package com.test.springbootmybatis.service;

import com.test.springbootmybatis.model.User;

import java.util.List;

public interface UserService {
    //添加
    int addUser(User user);
    //查询
    List<User> findAllUser(int pageNum, int pageSize);
    //修改
    int updateUser(User user);
    //删除
    int deleteUser(int id);
}
